projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53e7593
)
ngl: Be explicit about offscreen clipping
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 31 Mar 2021 18:34:16 +0000
(14:34 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 31 Mar 2021 18:34:16 +0000
(14:34 -0400)
Explicitly set all the input arguments.
This makes it clearer what is going on.
gsk/ngl/gsknglrenderjob.c
patch
|
blob
|
history
diff --git
a/gsk/ngl/gsknglrenderjob.c
b/gsk/ngl/gsknglrenderjob.c
index 93b06c38f6f94ca815d86d21a812ebf74973049c..08e99a7d196be43c2fd8729b28fd85a0a9f68c98 100644
(file)
--- a/
gsk/ngl/gsknglrenderjob.c
+++ b/
gsk/ngl/gsknglrenderjob.c
@@
-1605,6
+1605,7
@@
gsk_ngl_render_job_visit_rounded_clip_node (GskNglRenderJob *job,
offscreen.bounds = &node->bounds;
offscreen.force_offscreen = TRUE;
+ offscreen.reset_clip = FALSE;
gsk_ngl_render_job_push_clip (job, &transformed_clip);
if (!gsk_ngl_render_job_visit_node_with_offscreen (job, child, &offscreen))